<meta charset="UTF-8"/>
<script>
  var zfz=prompt("请输入字符串：");
  var i=zfz.substring(0,1);
  var j=zfz.substring(1);
  var result=i.toUpperCase()+j
  document.write(result);



</script>